package com.itheima.provide.service;

import com.itheima.provide.dao.GoodsDao;
import com.itheima.provide.domain.Goods;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class GoodsService {

    @Autowired
    private GoodsDao goodsDao;
    /**
     * @Description:
     * @Author: 陈安
     * @Date:  
     * @Param: 
     * @Return: 
     */
    public Goods findOne(int id){
        return goodsDao.findOne(id);
    }
}
